i=0
while i<5 :
    j=0
    while j<(5-i):
        print('*',end = '')
        j+=1
    i+=1
    print('')